package com.kun.service;

import com.kun.entity.Dept;

import java.util.List;

public interface DeptService {

    public int insertDept(Dept dept);

    public int deleteDept(Long id);

    public int updateDept(Dept dept);

    public Dept getDeptById(Long id);

    public List<Dept> queryAllDepts();

}
